package cn.ssms.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 图片信息实体
 * 
 * @author Administrator
 *
 */
public class Image implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String imgId;// 图片ID
	private String source;// 图片来源站点
	private String sourceUrl;// 图片来源地址
	private String imgUrl;// 图片地址
	private String realUrl;// 图片有效地址
	private Date dataTime;// 图片数据录入时间
	private String categoryCode;// 图片类型
	private String imgTitle;// 图片标题
	private String isReal;// 是否下载（存放到bigwe图片服务 1下0未）
	private String isValid;// 是否有效(1有0无)
	private String isCopyRight;// 是否原创(1是0否)
	private String tag;// 标签
	private String author;// 图片作者
	private String isIndex;// 是否建立索引

	public String getImgId() {
		return imgId;
	}

	public void setImgId(String imgId) {
		this.imgId = imgId;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSourceUrl() {
		return sourceUrl;
	}

	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getRealUrl() {
		return realUrl;
	}

	public void setRealUrl(String realUrl) {
		this.realUrl = realUrl;
	}

	public Date getDataTime() {
		return dataTime;
	}

	public void setDataTime(Date dataTime) {
		this.dataTime = dataTime;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getImgTitle() {
		return imgTitle;
	}

	public void setImgTitle(String imgTitle) {
		this.imgTitle = imgTitle;
	}

	public String getIsReal() {
		return isReal;
	}

	public void setIsReal(String isReal) {
		this.isReal = isReal;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public String getIsCopyRight() {
		return isCopyRight;
	}

	public void setIsCopyRight(String isCopyRight) {
		this.isCopyRight = isCopyRight;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getIsIndex() {
		return isIndex;
	}

	public void setIsIndex(String isIndex) {
		this.isIndex = isIndex;
	}

	@Override
	public String toString() {
		return "Image [imgId=" + imgId + ", source=" + source + ", sourceUrl=" + sourceUrl + ", imgUrl=" + imgUrl
				+ ", realUrl=" + realUrl + ", dataTime=" + dataTime + ", categoryCode=" + categoryCode + ", imgTitle="
				+ imgTitle + ", isReal=" + isReal + ", isValid=" + isValid + ", isCopyRight=" + isCopyRight + ", tag="
				+ tag + ", author=" + author + ", isIndex=" + isIndex + "]";
	}

	public Image(String imgId, String source, String sourceUrl, String imgUrl, String realUrl, Timestamp dataTime,
			String categoryCode, String imgTitle, String isReal, String isValid, String isCopyRight, String tag,
			String author, String isIndex) {
		super();
		this.imgId = imgId;
		this.source = source;
		this.sourceUrl = sourceUrl;
		this.imgUrl = imgUrl;
		this.realUrl = realUrl;
		this.dataTime = dataTime;
		this.categoryCode = categoryCode;
		this.imgTitle = imgTitle;
		this.isReal = isReal;
		this.isValid = isValid;
		this.isCopyRight = isCopyRight;
		this.tag = tag;
		this.author = author;
		this.isIndex = isIndex;
	}

	public Image() {
		super();
		// TODO Auto-generated constructor stub
	}

}
